package com.copyctrl.message.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author:JH
 * @version:1.0
 */
@RestController
@RequestMapping("/test")
public class TestController {
    @Autowired
    StringRedisTemplate redisTemplate;

    @GetMapping()
    public void test(){
        System.out.println(redisTemplate);
    }
}
